package com.aigou.compont;

import org.springframework.stereotype.Component;

@Component
public class RedisSubCompont {

	public void receiveMessage(String message) {
        System.out.println("消息来了："+message);
        //这里是收到通道的消息之后执行的方法
    }
	
}
